<!doctype html>
<title>Test for</title>
<h1>Test for</h1>
<ul>
    {% for item in tar_list %}
    <li>{{ item | title }}</li>
    {% endfor %}
</ul>